import { http } from '@/utils/http/http'
import type { Category, children } from '@/types/categray'
/**获取商品分类 */
export const getCategoryTopApi = () => {
  return http<Category<children>[]>({
    method: 'GET',
    url: '/category/top',
  })
}
